<?php
$config['page']['title'] 			= "Reward and Punishment System";
$config['page']['jscript'] 			= '';
$config['page']['jscript_default'] 	= array('moo','moop','bootstrap','pagination','tableSorter','fbModal','formCheck','lang/en');
$config['page']['css'] 				= '';
$config['page']['css_default'] 		= array('table','predefined','pagination','fbModal','formCheck','nav');
$config['page']['content']			= ''; //renderable content
$config['page']['template_view']			= '';

$config['layout']['layout_width'] = 1024;
$config['layout']['left_width'] = 200;
$config['layout']['right_width'] = 824;
$config['layout']['left_content'] = "";
$config['layout']['right_content'] = "";

/******************************************
 * navigasi
 *****************************************/
$config['nav']['psdm'] = array(
	'General'=> array(
		'Dashboard'=>site_url(array('psdm','dashboard')), 
		'Log out'=>site_url(array('login','out')) 
	),
	'Master'=> array(
		'Karyawan'=>site_url(array('psdm','karyawan')),
		'Departemen'=>site_url(array('psdm','departemen')),
		'Jabatan'=>site_url(array('psdm','jabatan')),
		'Kota'=>site_url(array('psdm','kota')),
		'Propinsi'=>site_url(array('psdm','propinsi')),
	),
	'Penilaian'=>array(
		'Prestasi/Pelanggaran'=>site_url(array('psdm','achievement')),
		'Detil Prestasi/Pelanggaran'=>site_url(array('psdm','detachievement')),
		'Reward/Punishment'=>site_url(array('psdm','rewardpunishment')),
		'Nilai'=>site_url(array('psdm','nilai'))
	),
	'Transaksi'=> array(
		'Draft Laporan Perbuatan'=>site_url(array('psdm','perbuatan')),
		'Laporan Perbuatan'=>site_url(array('users',md5('admin'),'perbuatan')),
		'Laporan BAP'=>site_url(array('users',md5('admin'),'perbuatan','bap')),
		'Rangking' => site_url(array('psdm','ranking'))
	),
	'Laporan Grafik'=> array(
		'Total Point Karyawan'=>site_url(array('graph',md5('admin'),'totalPointKaryawan')),
		'Total Point Departemen'=>site_url(array('graph',md5('admin'),'totalPointDepartemen')),
		'Reward Punishment Per Departemen'=>site_url(array('graph',md5('admin'),'rewardPunishmentPerDepartemen')),
		'Total Pelanggaran Departemen'=>site_url(array('graph',md5('admin'),'totalPelanggaranDepartemen')),
		'Prestasi Pelanggaran Per Bidang'=>site_url(array('graph',md5('admin'),'prestasiPelanggaranPerBidang')),
		'Total Point Perguruan Tinggi'=>site_url(array('graph',md5('admin'),'totalPointPerguruanTinggi')),
		'Reward Punishment Perguruan Tinggi'=>site_url(array('graph',md5('admin'),'rewardPunishmentPerguruanTinggi')),
	)
);
						
$config['nav']['users'] = array(
	'General' => array(
		'Dashboard'=>site_url(array('users',':user','dashboard')),
		'Ganti Password'=>site_url(),
		'Log out'=>site_url(array('login','out'))
	),
	'Penilaian' => array(
		'Draft Laporan Perbuatan'=>site_url(array('users',':user','perbuatan','draft')),
		'Laporan Perbuatan'=>site_url(array('users',':user','perbuatan')),
		'Laporan BAP'=>site_url(array('users',':user','bap')),
	)
); 

/******************************************
 * Searching
 *****************************************/
$config['search']['limit'] = 20;

/*********************************************
 * karyawan
 *********************************************/
$config['karyawan'] = array(
	"agama_options" => array(
		"B"=>"Budha",
		"H"=>"Hindu",
		"K"=>"Kristen",
		"I"=>"Islam"
	),
	"statusKerja_options" => array(
		"AK"=>"Aktif",
		"CT"=>"Cuti",
		"NA"=>"Non Aktif"
	),
	"cuti_options" => array(
		"T"=>"Tahunan",
		"B"=>"Bulanan",
		"M"=>"Mingguan"
	)
);


/*********************************************
 * achievement
 *********************************************/
$config['achievement']['jenis_options'] = array(
	'PR' => "Prestasi",
	'PE' => "Pelanggaran",
);

/*********************************************
 * detachievement
 *********************************************/
$config['detachievement']['tingkat_options'] = array(
	'PE' => array(		//prestasi
		'KE' => "Kecil",
		'SE' => "Sedang",
		'BE' => "Besar"
	),
	'PR' => array(		//pelanggaran
		'LO' => "Lokal",
		'NA' => "Nasional",
		'IN' => "Internasional"
	)
);

/*********************************************
 * Reward Punishment
 *********************************************/
$config['rewardPunishment']['jenis_options'] = array(
	'RE' => "Reward",
	'PU' => "Punishment"
);

/*********************************************
 * Perbuatan
 *********************************************/
$config['perbuatan']['status'] = array(
	'DR' => "Draft",
	'RA' => "Request Approval",
	'RE' => "Rejected",
	'AP' => "Approved",
);

/*********************************************
 * Perbuatan
 *********************************************/
$config['bap']['status'] = array(
	'RR' => "Report Rejected",	//laporan perbuatan ditolak
	'RS' => "Request Signing",	//laporan perbuatan di terima
	'SI' => "Signed by witnesses",//seluruh saksi telah memberikan ttd
	'SA' => "Signed by actor",
	'CO' => "Counter",			//pelaku mengajukan klarifikasi
	'CA' => "Counter Approved", //klarifikasi diterima
	'CR' => "Counter Rejected"	//klarifikasi ditolak
);